package com.howie.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.howie.common.utils.PageUtils;
import com.howie.gulimall.product.entity.SpuInfoDescEntity;
import com.howie.gulimall.product.entity.SpuInfoEntity;
import com.howie.gulimall.product.vo.SpuSaveVo;

import java.util.Map;

/**
 * spu信息
 *
 * @author laizhenghua
 * @email 3299447929@qq.com
 * @date 2020-12-06 19:27:38
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveVo spuSaveVo);

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);
    /**
     * @description: 商品上架
     * @author: laizhenghua
     * @date: 2021/1/22 8:42
     * @param: spuId
     * @return: void
     */
    void up(Long spuId);
}

